package com.itheima.service;

import com.itheima.pojo.OrderSetting;

import java.util.List;
import java.util.Map;

public interface OrderSettingService {

    /**
     * 批量添加预约设置
     * @param orderSettingList
     */
    void add(List<OrderSetting> orderSettingList);

    /**
     * 查询当月所有的预约设置
     * @param date
     * @return
     */
    List<Map<String,Object>> findOrderSettingByMonth(String date);

    /**
     * 前台设置预约设置
     * @param orderSetting
     */
    void updateNumberByDate(OrderSetting orderSetting);
}
